package com.recsmile.sgs.ui.components;

import javax.swing.*;
import java.awt.*;

/**
 * Created by Administrator on 2016/8/26.
 */
public class MessageBoxGui extends JLabel{
    public static final int HEIGHT = 40;

    public MessageBoxGui()
    {
        setFont(new Font(Font.MONOSPACED, Font.BOLD, 20));
        setHorizontalAlignment(JLabel.CENTER);
        setSize(CardRackGui.WIDTH,40);
    }

    public void setMessage(String message)
    {
        setText(message);
    }
    public void clearMessage()
    {
        setText("");
    }
}
